package com.coocaa.ops.admin.config.database.properties;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.coocaa.ops.common.core.base.model.BaseDatabaseProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Component;

/**
 * nacos配置获取
 * @author tangminghong
 * @date 2020-06-10 09:48
 */
@Component
@Getter
@Setter
@NacosConfigurationProperties(dataId = "admin-datasource.yml", groupId = "${nacos.config.group}", autoRefreshed = true)
public class DatabaseProperties extends BaseDatabaseProperties {

}
